

def getValidRookMoves(self,fromPos):
# darren & ronan work in progress

	moves = []        
	dirs = [(1,0),(-1,0),(0,1),(0,-1)]

	moves = self.traceValidMoves(fromPos,dirs)

	moves = self.checkKingGuard(fromPos,moves)

	return moves